Returns True or False to indicate if the current recordset row index is past the end of the data.
Syntax
RecordsetEOF(Recordset)
Arguments
Argument | Description |
---|---|
Recordset | Recordset name. Must be opened with OpenRecordset or OpenRecordsetQuery. |
Return value
Value | Description |
---|---|
True | Current row is past the end of the data. |
False | Current row is before the end of the data. |
Example
bugs = OpenRecordSet("Bug Reporter Bugs")
If Not RecordsetEOF(bugs) Then
summary = GetRowValue(bugs, "Summary")
type = GetRowValue(bugs, "Type")
Window("Bug Reporter Dialog").Editbox("editboxSummary").SetText(summary)
Window("Bug Reporter Dialog").ComboBox("comboboxType").Item(type).Select()
Else
Fail("Error: The second record does not exist")
End If